package Day3Zuoye;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Test2 {
    public static void main(String[] args) {
        Calendar calendar=Calendar.getInstance();
        calendar.getTime();
        long i=calendar.getTimeInMillis();
        calendar.set(2012,12,21);
        long j=calendar.getTimeInMillis();
        System.out.println((i-j)/1000/86400);


    }
}
